<%@ page language="java" pageEncoding="GBK" %>
<%@ page contentType="text/html; charset=gbk" language="java"%>
<%@ page import="com.hd123.rumba.request.JspLib"%>
<%@ page import="com.hd123.rumba.request.Dictionary"%>

<%@ page import="com.hd123.rumba.action.ViewApplication"%>
<%@ page import="com.hd123.rumba.navigation.menu.BMenu"%>
<%
Dictionary dd = (Dictionary)request.getAttribute("dd");

BMenu siteMenu = (BMenu) dd.get("siteMenu");
%>
<html>
<head>
	<META HTTP-EQUIV="Pragma" CONTENT="no-cache">
	<link rel="STYLESHEET" type="text/css" href="<%=JspLib.getStaticContent("rumba/theme/1/RSiteMenuBar.css")%>"/>
	
	<script language="javascript" src="<%=JspLib.getStaticContent("rumba/script/prototype.js")%>"></script>
	<script language="javascript" src="<%=JspLib.getStaticContent("rumba/script/RBasic.js")%>"></script>
	<script language="javascript" src="<%=JspLib.getStaticContent("rumba/script/debug/RDebug.js")%>"></script>
	<script language="javascript" src="<%=JspLib.getStaticContent("rumba/script/menu/RMainMenus.js")%>"></script>
</head>

<script type="text/javascript">
var rjsPath = "<%=JspLib.getStaticContent("rumba/script")%>";
</script>

<body onload="loadPage();">

<table width=140px cellpadding=0 cellspacing=0 border=0><tbody>
	<tr><td width="100%"><img src="<%=JspLib.getStaticContent("rumba/theme/1/sitemenubar_top.gif")%>" border="0px"></td></tr>
	<tr><td width="100%"><div id="siteMenu"></div></td></tr>
	<tr><td width="100%"><img src="<%=JspLib.getStaticContent("rumba/theme/1/sitemenubar_bottom.gif")%>" border="0px"></td></tr>
</tbody></table>

</body>

<script>
var siteMenu = null;

function buildSiteMenu() {
	siteMenu = new RSiteMenu();
<%=ViewApplication.toJS_SiteMenu(siteMenu, "siteMenu")%>
	siteMenu.showIn($("siteMenu"));
}

function loadPage() {
	buildSiteMenu();
}

</script>

</html>
